home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / scope / 151-175 / scopedisk155 / zkick / mmu.i < prev    next >
Text File  |  1995-03-19  |  2KB  |  115 lines

  1. ;======================================================================
  2. ;
  3. ;    Borrowed From:
  4. ;    
  5. ;    SetCPU V1.60
  6. ;    by Dave Haynie, April 13, 1990
  7. ;
  8. ;======================================================================
  9.  
  10. _PMOVE        macro    
  11.         ifc '\1','tc'
  12.             ifc '\2','(sp)'
  13.             dc.w    $f017    ; PMOVE tc,(sp)
  14.             dc.w    $4200
  15.             mexit
  16.             endc
  17.             ifc '\2','(a0)'
  18.             dc.w    $f010    ; PMOVE tc,(a0)
  19.             dc.w    $4200
  20.             mexit
  21.             endc
  22.         endc
  23.         ifc '\1','crp'
  24.             ifc '\2','(a0)'
  25.             dc.w    $f010    ; PMOVE    crp,(a0)
  26.             dc.w    $4e00
  27.             mexit
  28.             endc
  29.         endc
  30.         ifc '\1','(a0)'
  31.             ifc '\2','crp'
  32.             dc.w    $f010    ; PMOVE    (a0),crp
  33.             dc.w    $4c00
  34.             mexit
  35.             endc
  36.             ifc '\2','tc'
  37.             dc.w    $f010    ; PMOVE (a0),tc
  38.             dc.w    $4000
  39.             mexit
  40.             endc
  41.         endc
  42.         ifc '\1','(a1)'
  43.             ifc '\2','crp'
  44.             dc.w    $f011    ; PMOVE (a1),crp
  45.             dc.w    $4c00
  46.             mexit
  47.             endc
  48.         endc
  49.         endm
  50.  
  51. _PFLUSHA    macro    
  52.         dc.w    $f000
  53.         dc.w    $2400
  54.         endm
  55.  
  56. _MOVEC        macro    
  57.         ifc '\1','cacr'
  58.             ifc '\2','d0'
  59.             dc.w    $4e7a    ; MOVEC    cacr,d0
  60.             dc.w    $0002
  61.             mexit
  62.             endc
  63.             ifc '\2','d1'
  64.             dc.w    $4e7a    ; MOVEC    cacr,d1
  65.             dc.w    $1002
  66.             mexit
  67.             endc
  68.         endc
  69.         ifc '\2','cacr'
  70.             ifc '\1','d0'
  71.             dc.w    $4e7b    ; MOVEC d0,cacr
  72.             dc.w    $0002
  73.             mexit
  74.             endc
  75.             ifc '\1','d1'
  76.             dc.w    $4e7b    ; MOVEC d1,cacr
  77.             dc.w    $1002
  78.             mexit
  79.             endc
  80.         endc
  81.         ifc '\1','vbr'
  82.             ifc '\2','d0'
  83.             dc.w    $4e7a    ; MOVEC    vbr,d0
  84.             dc.w    $0801
  85.             mexit
  86.             endc
  87.         endc
  88.         endm
  89.  
  90. CIB_ENABLE    EQU    0
  91. CIB_FREEZE    EQU    1
  92. CIB_ENTRY    EQU    2
  93. CIB_CLEAR    EQU    3
  94. CIB_BURST    EQU    4
  95.  
  96. CDB_ENABLE    EQU    8
  97. CDB_FREEZE    EQU    9
  98. CDB_ENTRY    EQU    10
  99. CDB_CLEAR    EQU    11
  100. CDB_BURST    EQU    12
  101. CDB_WALLOC    EQU    13
  102.  
  103. CIB_ENABLE40    EQU    15
  104. CDB_ENABLE40    EQU    31
  105.  
  106. AFB_68030    EQU    2
  107. AFB_68040    EQU    3
  108. AFB_68882    EQU    5
  109.  
  110. ATNFLGS        EQU    $129
  111.  
  112. ANYCREG        EQU    $00dff010
  113.  
  114. BOGUSMMU        EQU    $ffffffff
  115.